name = "Eric"
massage = f"Hello {name.title()},would you like to learn some Python today? "
print(massage)
#2.3
name2 = "jack Marry"
print(name2.upper()) #全大写
print(name2.lower()) #全小写
print(name2.title()) #首字母大写
#2.4
famous_name = "Albert Einstein"
sentence = '"A person who never made a mistake never tried anything new."'
print(f"{famous_name.title()} once said, {sentence}")
#2.5/2.6
name3 = " ababab hahaha "
name4 = name3.rstrip()
print(name4)
name5 = name3.lstrip()
print(name5)
name6 = name3.strip()
print(name6)
#2.7
print(5+3)
#2.8
son = "周志强"
massage1 = f"My son named {son}"
print(massage1)
#2.9/2.10
import this
#2.11
